#!/usr/bin/env python
# encoding: utf-8
"""
urls.py

Created by 刘 智勇 on 2011-05-03.
Copyright (c) 2011 __MyCompanyName__. All rights reserved.
"""
from apps.common import RootHandler, MainHandler, Error404Handler, TestHandler
from apps.user import LoginHandler, LogoutHandler, RegisterHandler


handlers = [(r"/", RootHandler),
            (r"/main/?", MainHandler),
            (r"/login/?", LoginHandler),
            (r"/logout/?", LogoutHandler),
            (r"/register/?", RegisterHandler),
            
            (r"/test/(.*)/?", TestHandler),
            (r".*", Error404Handler),
        ]
